package com.basketball.gym.service;

import com.basketball.gym.pojo.Calendar;
import com.baomidou.mybatisplus.extension.service.IService;
import com.basketball.gym.pojo.ResponseData;

import java.text.ParseException;
import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author 赵肖云
 * @since 2021-03-26
 */
public interface CalendarService extends IService<Calendar> {

    /**
     * 查询球馆日程
     */
    ResponseData<List<Calendar>> getGymCalendar(Calendar calendar);

    /**
     * 修改日程状态
     */
    ResponseData<Object> updateCalendarState(Calendar calendar);

    /**
     * 管理员查询日程
     */
    ResponseData<List<Calendar>> adminGetGymCalendar(Calendar calendar);
}
